package com.zhongyouyun.admin.service;

import com.zhongyouyun.admin.model.SiteListModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhongyouyun.admin.pojo.RolePojo;
import com.zhongyouyun.admin.pojo.SiteListPojo;

import java.util.List;

/**
 * @Author: shenyi
 * @Date: 2022-11-14
 * @Description: 服务类
 */

public interface SiteListService extends IService<SiteListModel> {

    IPage<SiteListModel> selectPage(Page<SiteListModel> userPage, QueryWrapper<SiteListModel> queryWrapper);

    List<SiteListModel> selectList(QueryWrapper<SiteListModel> queryWrapper);

    IPage<SiteListPojo> selectPojoPage(Page page, QueryWrapper<RolePojo> queryWrapper);
}
